<!DOCTYPE html>
<html>
<head>
    <title>销售订单信息</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <!-- 指定以IE8的方式来渲染 -->
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
    <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/js/bootstrap/css/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="/css/jsherp.css"/>
    <link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
    <link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
    <link type="text/css" rel="stylesheet" href="/css/common.css"/>
    <link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
    <script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script src="/js/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="/js/common/common.js"></script>
    <script src="/js/pages/manage/order.js"></script>
</head>
<body>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" data-options="fit:true"  style="padding:1px;top:300px;" title="销售订单列表" iconCls="icon-list">
    <div class="box-body form-inline">
        <div class="form-group">
            <label class="control-label">客户：</label>
            <div class="control-inline">
                <input type="text" id="searchKhxx" name="khxx" value="" maxlength="100" class="easyui-textbox width-120"/>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label">规格：</label>
            <div class="control-inline">
                <input type="text" id="searchGuige" name="guige" value="" maxlength="100" class="easyui-textbox width-120"/>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label">单据日期：</label>
            <div class="control-inline">
                <input type="text" id="searchBeginTime" name="searchBeginTime" value="" maxlength="100" class="easyui-datebox width-120"/>
                -
                <input type="text" id="searchEndTime" name="searchEndTime" value="" maxlength="100" class="easyui-datebox width-120"/>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label">备注：</label>
            <div class="control-inline">
                <input type="text" id="searchDesc" name="beizhu" value="" maxlength="100" class="easyui-textbox width-120"/>
            </div>
        </div>
        <div class="form-group">
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
        </div>
    </div>
    <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div>
<div id="orderDlg" class="easyui-dialog" style="padding:10px 40px;width: 1150px;height:610px;"
     closed="true" buttons="#dlg-buttons" modal="true" collapsible="false" closable="true">
    <form id="orderFM">
        <table style="min-width:1000px;border-collapse:separate;border-spacing:0px 15px;">
            <td>
                <input name="id" type = "hidden"/>
            </td>
            <tr>
                <td style="width: 90px;height: 20px">订单编号</td>
                <td style="padding:5px">
                    <input name="ddNum" id="ddNum" class="easyui-textbox"
                           data-options="required:true,validType:'length[2,30]'" style="width: 160px;"/>
                </td>
                <td style="width:90px;">客户</td>
                <td style="padding:5px;">
                    <select name="khxx" id="OrganId" style="width:160px;"></select>
                </td>
                <td style="width:90px;">打标材质</td>
                <td style="padding:5px;">
                    <input name="dbcz" id="dbcz" class="easyui-textbox" style="width: 160px;"/>
                </td>
            </tr>
            <tr>
                <td>刻  字</td>
                <td style="padding:5px;">
                    <input name="iskz" id="iskz" class="easyui-textbox" style="width: 160px;"/>
                </td>
                <td>规格</td>
                <td style="padding:5px">
                    <input name="guige" id="guige" class="easyui-textbox"  style="width: 160px;"/>
                </td>
                <td>材质</td>
                <td style="padding:5px">
                    <input name="caizhi" id="caizhi" class="easyui-textbox" style="width: 160px;"/>
                </td>
            </tr>
            <tr>
                <td>数量</td>
                <td style="padding:5px;">
                    <input name="number" id="number" class="easyui-textbox" style="width: 160px;"/>
                </td>
                <td>单价</td>
                <td style="padding:5px;">
                    <input name="danjia" id="danjia" class="easyui-textbox" style="width: 160px;"/>
                </td>
                <td>订单日期</td>
                <td style="padding:5px">
                    <input type="text" name="dhrq" id="djrq"
                           onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
                           style="width:155px;" readonly/>
                </td>
<!--                <td>工作单号</td>-->
<!--                <td style="padding:5px">-->
<!--                    <input name="gzdh" id="gzdh" class="easyui-textbox" style="width: 160px;"/>-->
<!--                </td>-->
            </tr>
            <tr>

                <td>油沟</td>
                <td style="padding:5px;">
                    <input name="yougou" id="yougou" class="easyui-textbox" style="width: 160px;"/>
                </td>
                <td>重量</td>
                <td style="padding:5px">
                    <input name="weight" id="weight" class="easyui-textbox" style="width: 160px;"/>
                </td>
                <td>外径</td>
                <td style="padding:5px;">
                    <input name="waijing" id="waijing" class="easyui-textbox" style="width: 160px;"/>
                </td>
            </tr>
            <tr>
                <td>期望出货日期</td>
                <td style="padding:5px">
                    <input type="text" name="qwchrq" id="clqwchrqrq"
                           onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
                           style="width:155px;" readonly/>
                </td>
                <td>高度</td>
                <td style="padding:5px">
                    <input name="height" id="gaodu" class="easyui-textbox" style="width: 160px;"/>
                </td>
                <td>孔径</td>
                <td style="padding:5px">
                    <input type="text" name="kongjing" id="kongjing" class="easyui-textbox" style="width: 160px;"/>
                </td>
            </tr>
            <tr>
                <td style="width: 50px">出炉日期</td>
                <td style="padding:5px">
                    <input type="text" name="clrq" id="clrq"
                           onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
                           style="width:155px;" readonly/>
                </td>
                <td>炉号</td>
                <td style="padding:5px" colspan="3">
                    <input name="lunum" id="luhao" class="easyui-textbox" data-options="multiline:true" style="width: 160px;"/>
                </td>
            </tr>
            <tr>
                <td>备注</td>
                <td style="padding:5px" colspan="3">
                    <input name="beizhu" id="description" class="easyui-textbox" data-options="multiline:true" style="width: 500px;height: 40px;padding:5px;"/>
                </td>
            </tr>
            <tr id="shenpiyijiandes" hidden>
                <td>驳回原因</td>
                <td style="padding:5px" colspan="3">
                    <input name="status" id="bohui" class="easyui-textbox" data-options="multiline:true" style="margin-top:3px;width: 500px;height: 40px;padding:5px;color:red;"/>
                </td>
                <td style="margin-left:40px;" >
                    <a href="javascript:void(0)" id="rersetshenqing" class="easyui-linkbutton" style="padding:5px;background: darkseagreen">重新申请</a>
                </td>
            </tr>
        </table>
    </form>
</div>
<div id="dlg-buttons">
    <a href="javascript:void(0)" id="saveOrder" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
    <a href="javascript:void(0)" id="cancelOrder" class="easyui-linkbutton" iconCls="icon-cancel"
       onclick="javascript:$('#orderDlg').dialog('close')">取消</a>
</div>

<!-- 导入excel表格 -->
<div id="importExcelDlg" style="padding:10px 20px" buttons="#dlg-buttons5">
    <form id="importExcelFM" method="post" enctype="multipart/form-data"
          action="/order/importExcelMember">
        <table>
            <tr>
                <td style="width:80px;">文件名称</td>
                <td style="padding:5px">
                    <input name="orderFile" id="orderFile" type="file" style="width: 230px;"/>
                </td>
            </tr>
            <tr>
                <td>导入注意</td>
                <td style="padding:5px">
                    <span>请按照指定格式进行导入，否则将不生效</span>
                </td>
            </tr>
        </table>
    </form>
</div>
<div id="dlg-buttons5">
    <a href="javascript:void(0)" id="saveimport" class="easyui-linkbutton" iconCls="icon-ok">导入</a>
    <a href="javascript:void(0)" id="cancelimport" class="easyui-linkbutton" iconCls="icon-cancel"
       onclick="javascript:$('#importExcelDlg').dialog('close')">取消</a>
</div>
</body>
</html>